package com.arpa.oms.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * OMS调拨单DTO
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Data
@ApiModel(value="OmsAllocationVO对象", description="OMS调拨单")
public class OmsAllocationVO implements Serializable {


    @ApiModelProperty(value = "调拨单号")
    private String code;

    @ApiModelProperty(value = "调出仓库")
    private String sourceWarehouseCode;

    @ApiModelProperty(value = "调入仓库")
    private String targetWarehouseCode;

    @ApiModelProperty(value = "调出仓库名称")
    private String sourceWarehouseName;

    @ApiModelProperty(value = "调入仓库名称")
    private String targetWarehouseName;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "总数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "总数量")
    private BigDecimal unitQuantity;

    @ApiModelProperty(value = "出库数量")
    private BigDecimal outboundQuantity;

    @ApiModelProperty(value = "出库数量")
    private BigDecimal unitOutboundQuantity;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal inboundQuantity;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal unitInboundQuantity;

    @ApiModelProperty(value = "审核意见")
    private String verifyOpinion;

    @ApiModelProperty(value = "审核时间")
    private LocalDateTime gmtVerify;

    @ApiModelProperty(value = "审核人")
    private String verifyBy;

    @ApiModelProperty(value = "审核人姓名")
    private String verifyName;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "创建时间")
    private String gmtCreated;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "修改时间")
    private String gmtModified;

    @ApiModelProperty(value = "状态：状态：新增、作废、待审核、审核通过、审核不通过")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "调拨单明细")
    private List<OmsAllocationItemVO> allocationItemList= new ArrayList<>();

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    @ApiModelProperty(value = "地址")
    private String address;
}
